package com.epichust.bootuqc.service.impl;

import com.epichust.bootuqc.model.dao.Uqcm5OrderChkTemplateDao;
import com.epichust.bootuqc.model.entity.Uqcm5OrderChkTemplate;
import com.epichust.bootuqc.service.IUqcm5OrderChkTemplateService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;
import java.util.Map;

/**
 * Description:
 *
 * @author:伦伦的电脑
 * @date: 2021/3/23 15:44
 */
@Service
@Transactional
public class Uqcm5OrderChkTemplateServiceImpl implements IUqcm5OrderChkTemplateService {
    @Autowired
    Uqcm5OrderChkTemplateDao uqcm5orderchktemplatedao;
    @Override
    public List<Uqcm5OrderChkTemplate> getAllUqcm5OrderChkTemplate(Map<String, Object> map) {
        return uqcm5orderchktemplatedao.getAllUqcm5OrderChkTemplate(map);
    }

    @Override
    public int insertUqcm5OrderChkTemplate(Uqcm5OrderChkTemplate uqcm5orderchktemplate) {
        return uqcm5orderchktemplatedao.insertUqcm5OrderChkTemplate(uqcm5orderchktemplate);
    }
}
